<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./index.js"></script>
</head>
<body>
    1.任何一个构造函数的实例化对象身上都有一个默认的属性，这个属性叫做隐式原型属性(__proto__)
    2.Promise实例化对象身上还有俩属性，一个是PromiseState(记录当前Promise实例化对象的状态)；另一个是PromiseResult(记录Promise的结果)
    
    <script>
        let p = new Promise((resolve,reject)=>{
            console.log(123);
        })
        let p1 = new Promise(()=>{}) 
        let p2 = new Promise(()=>{})
        console.log(p);
        console.log(p1);
        console.log(p2);
                
    </script>
</body>
</html>